﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.IO;

namespace Public
{
    [MessageContract]
    public class FileWrapper
    {
        public FileWrapper(string filePath, Stream fileStream)
        {
            this.FilePath = filePath;
            this.FileStream = fileStream;
        }
        public FileWrapper() { }

        [MessageHeader]
        public string FilePath;

        [MessageBodyMember]
        public Stream FileStream;
    }
}
